<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>积分商城</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="{{url('css/main.css')}}" type="text/css" rel="stylesheet"/>
    <script src="{{url('js/jquery.js')}}" type="text/javascript"></script>
</head>

<body>

<div style="padding-left:10px; padding-right:10px; background-color:#f0f0f0; border-bottom:solid 1px #e3e3e5;">
    <div class="mypoint">
        <img src="{{url('images/pic_coins.png')}}" width="44">
        <a class="mycoins">我的积分：<span style="color:#129dfe;">{{$users['score']}}</span></a>
    </div>
</div>

<div style="padding-left:20px; padding-right:20px; border-bottom:solid 1px #e3e3e5;">
    <div class="box_zone_nav">
        <div class="box_type1">
            <a class="text_type3" href="{{url('/wx/shop')}}">积分兑换</a>
        </div>
        <div class="box_type2">
            <a class="text_type2" href="{{url('/wx/myshop')}}">已兑换</a>
        </div>
        <div class="box_type3">
            <a class="text_type1" href="{{url('/wx/gshop')}}">已过期</a>
        </div>
    </div>
</div>
@foreach ($shops as $shop)
<div style="padding:10px;">
    <div class="box_ticket">
        <div class="box_ticket_left">
            <img class="ticket_pic" src="/uploads/{{$shop->pic}}" width="50">
            <div class="ticket_contant">
                <p>{{$shop->title}}</p>
                <a><span class="past_text">已过期</span></a>
            </div>
        </div>
        <div class="box_ticket_right_past">
            {!! $shop->content !!}
        </div>
    </div>
</div>
@endforeach




</body>
</html>
